package com.company.cloud.user.modules.app.controller.req;

import javax.validation.constraints.NotEmpty;

import com.company.cloud.common.bean.BaseParam;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class UserLoginByThirdParam extends UserLoginBaseParam {

    @ApiModelProperty(value = "openId", required = true)
    @NotEmpty(message = "openId不能为空")
    private String openId;

    @ApiModelProperty(value = "sessionKey", required = true)
//    @NotEmpty(message = "sessionKey不能为空")
    private String sessionKey;

    @ApiModelProperty(value = "第三方渠道【UserThirdChannelEnum】", required = true)
    @NotEmpty(message = "第三方渠道不能为空")
    private String thirdChannel;

    @ApiModelProperty(value = "分销商标识 1:是 2:否")
    private String disFlg;

    @ApiModelProperty(value = "注册手机号", required = true)
    @NotEmpty(message = "手机号不能为空")
    private String mobile;

    @ApiModelProperty(value = "手机登录验证码", required = true)
    private String vcode;

    @ApiModelProperty(value = "用户头像", required = true)
    private String avatar;

    @ApiModelProperty(value = "用户昵称", required = true)
    private String nickname;

}
